package com.itheima.exer.homework.hw1011.system;

public class Test {
    public static void main(String[] args) {
        Desk desk = new Desk(false,10);
        Thread tr1 = new Thread(new Foodie(desk));
        Thread tr2 = new Thread(new Cooker(desk));
        tr1.start();
        tr2.start();
    }
}
